<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>

  <link href="/images/favicon.ico" rel="shortcut icon" type="image/x-icon" />

  <title>
    Sistema de Pós-Graduação
  </title>
  <%= stylesheet_link_tag "default"  %>
  <%= stylesheet_link_tag "scaffold"  %>
  <%= stylesheet_link_tag "menu"  %>
  <%= stylesheet_link_tag "tabs"  %>
  <%= stylesheet_link_tag "facebox"  %>

  <%= javascript_include_tag "jquery.js"  %>
  <%= javascript_include_tag "jquery.dimensions.js"  %>
  <%= javascript_include_tag "jquery.maskedinput.js"  %>
  <%= javascript_include_tag "facebox.js"  %>
  
  <%= javascript_include_tag "jquery.positionBy.js"  %>
  <%= javascript_include_tag "jquery.bgiframe.js"  %>
  <%= javascript_include_tag "jquery.jdMenu.js"  %>
  <%= javascript_include_tag "injection_graph_func.js"  %>
  <%= javascript_include_tag "painelOculto.js"  %>
  <%= javascript_include_tag "tabs.js"  %>
  <%= javascript_include_tag "mascaras.js"  %>


</head>
<body>
  <div class="cabecalho-pagina">
    <span class="logo">
      <%= image_tag "logo.gif" %>
    </span>

    <span class="titulo-sistema">
    
    </span>

    <span  style="width:10%; float:right;">
       <span  style="border-bottom:solid 1px black;">
          <%= label "", "Usuário: " %><%= User.find_by_id session[:user_id].to_i %>
       </span>
       <span>
         <%= link_to "Sair",:controller => "logout" %>
       </span>
    </span>
  </div>

  <div>
    <%= render :partial => "wellcome/menu"  %>
  </div>
  <%= yield %>

  
</body>
</html>